home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d10 / pcm_d2.arc / INSTALL.BAT < prev    next >
DOS Batch File  |  1989-06-12  |  3KB  |  131 lines

  1. echo off
  2. cls
  3. echo  
  4. echo  
  5. echo                           ═════════════════════════════
  6. echo                           THE PERSONAL CONTACTS MANAGER
  7. echo                           ═════════════════════════════
  8. echo  
  9. echo  
  10. echo  
  11. echo                               I n s t a l l a t i o n
  12. echo  
  13. echo  
  14. echo                         This program installs your system
  15. echo                      from 2 or 3 diskettes onto the C drive.
  16. echo  
  17. echo  
  18. echo                         Please insert DISK 1 into drive A.
  19. echo  
  20. echo                     Then press the ─┘ or ENTER key when ready.
  21. echo  
  22. echo  
  23. echo  
  24. echo  
  25. echo             (Note: To abort at any time, press CTRL and C together.)
  26.  
  27.  
  28.  
  29.  
  30.  
  31. pause >NUL
  32.  
  33.  
  34. c:
  35. cd c:\
  36. md contacts                                        >NUL
  37. cd contacts                                        >NUL
  38.  
  39. cls
  40. echo  
  41. echo                         Your files are being installed.
  42. echo  
  43. echo                           Please wait a few minutes...
  44. copy a:\*.*     c:\contacts\*.*                    >NUL
  45.  
  46. cls
  47. echo  
  48. echo  
  49. echo                        Please insert DISK 2 into drive A.
  50. echo  
  51. echo                    Then press the ─┘ or ENTER key when ready.
  52. pause >NUL
  53. cls
  54. echo  
  55. echo                         Your files are being installed.
  56. echo  
  57. echo                           Please wait a few minutes...
  58. c:
  59. cd c:\
  60. cd contacts                                         >NUL
  61. copy a:*.*      c:\contacts\*.*                     >NUL
  62.  
  63.  
  64.  
  65. if not exist telebook.dbt  goto THIRD
  66. if not exist telebook.dbf  goto THIRD
  67. if not exist rank.dbf      goto THIRD
  68. if not exist rank.dbt      goto THIRD
  69. if not exist contacts.exe  goto THIRD
  70.  
  71.  
  72.  
  73.  
  74. GOTO FINAL
  75.  
  76.  
  77.  
  78. :THIRD
  79. cls
  80. echo  
  81. echo  
  82. echo                        Please insert DISK 3 into drive A.
  83. echo  
  84. echo                    Then press the ─┘ or ENTER key when ready.
  85. pause >NUL
  86. cls
  87. echo  
  88. echo                         Your files are being installed.
  89. echo  
  90. echo                           Please wait a few minutes...
  91. c:
  92. cd c:\
  93. cd contacts                                         >NUL
  94. copy a:*.*      c:\contacts\*.*                     >NUL
  95. GOTO FINAL
  96.  
  97.  
  98.  
  99. :FINAL
  100.  
  101. copy c:\contacts\contacts.bat c:\contacts.bat        >NUL
  102. copy c:\contacts\contac.bat   c:\contac.bat          >NUL
  103. copy c:\contacts\phone.bat    c:\phone.bat           >NUL
  104. copy c:\contacts\tofloppy.bat c:\tofloppy.bat        >NUL
  105. copy c:\contacts\manual.bat   c:\manual.bat          >NUL
  106. copy c:\contacts\setfig.bat   c:\setfig.bat          >NUL
  107. copy c:\contacts\archive.bat  c:\archive.bat         >NUL
  108. copy c:\contacts\Y            c:\Y                   >NUL
  109. copy c:\contacts\nosnow.bat   c:\nosnow.bat          >NUL
  110.  
  111.  
  112. cd c:\                                              >NUL
  113. cls
  114. prompt $p$g
  115. echo  
  116. echo  
  117. echo                      The installation was successful.
  118. echo  
  119. echo  
  120. echo  
  121. echo  
  122. echo                     To start the program, simply type:
  123. echo  
  124. echo                                 CONTACTS
  125. echo  
  126. echo                      and press your ─┘ or ENTER key.
  127. echo  
  128. echo  
  129. echo  
  130. 
  131.